package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;
import java.util.List;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cuser.business.entity.po.BTaskCircle;

public interface ITaskCircleDao {
	void saveOrUpdate(BTaskCircle entity) throws SQLException;

	BTaskCircle getByCode(String taskCode) throws SQLException;

	BTaskCircle getById(String id) throws SQLException;

	PageData<BTaskCircle> findByModelCode(Integer pageNum,Integer pageSize,String modelCode) throws SQLException;

	List<BTaskCircle> findByModelTask(String statusCode) throws SQLException;

	List<BTaskCircle> findByNotModelTask() throws SQLException;

	void delete(BTaskCircle entity);
}
